/*
 * @Author: licheng
 * @Date: 2024-01-22 17:54:00
 * @LastEditors: licheng
 * @LastEditTime: 2024-01-22 17:54:00
 * @Descripttion: 全局地图方法
 */
import { addWFSLayer, addBaseMap, addPoint, removePoint, removeAllOverlay } from './WFSLayer'
import axios from 'axios'

const getData = (url?: any, params?: any, callback?: any) => {
  axios.get(url, { params: params }).then((res: any) => {
    callback && callback(res)
  })
}

export default {
  getData,
  addWFSLayer,
  addBaseMap,
  addPoint,
  removePoint,
  removeAllOverlay
}
